﻿using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.InteropServices;
using Teigha.Core;

namespace Teigha.TD
{
	public class OdDbPlotSettingsValidatorPE : OdRxObject
	{
		[EditorBrowsable(EditorBrowsableState.Never)]
		public OdDbPlotSettingsValidatorPE(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_SWIGUpcast(cPtr), cMemoryOwn)
		{
			this.swigCPtr = new HandleRef(this, cPtr);
		}

		[EditorBrowsable(EditorBrowsableState.Never)]
		public static HandleRef getCPtr(OdDbPlotSettingsValidatorPE obj)
		{
			if (obj != null)
			{
				return obj.swigCPtr;
			}
			return new HandleRef(null, IntPtr.Zero);
		}

		~OdDbPlotSettingsValidatorPE()
		{
			this.Dispose();
		}

		public override void Dispose()
		{
			if (this.swigCPtr.Handle != IntPtr.Zero)
			{
				if (this.swigCMemOwn)
				{
					lock (this.locker)
					{
						if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
						{
							this.swigCMemOwn = false;
							TD_DbPINVOKE.delete_OdDbPlotSettingsValidatorPE(this.swigCPtr);
						}
					}
					this.swigCMemOwn = false;
				}
				this.swigCPtr = new HandleRef(null, IntPtr.Zero);
			}
			GC.SuppressFinalize(this);
			base.Dispose();
		}

		public OdDbPlotSettingsValidatorPE() : this(TD_DbPINVOKE.new_OdDbPlotSettingsValidatorPE(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
		{
			MemoryTransaction currentTransaction = MemoryManager.GetMemoryManager().GetCurrentTransaction();
			if (currentTransaction != null)
			{
				currentTransaction.AddObject(new OdDbPlotSettingsValidatorPE(this.swigCPtr.Handle, true));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			this.SwigDirectorConnect();
		}

		public new static OdDbPlotSettingsValidatorPE cast(OdRxObject pObj)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_cast(OdRxObject.getCPtr(pObj));
			OdDbPlotSettingsValidatorPE result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbPlotSettingsValidatorPE)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbPlotSettingsValidatorPE)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbPlotSettingsValidatorPE)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdRxClass desc()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_desc(), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxClass isA()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("isA", OdDbPlotSettingsValidatorPE.swigMethodTypes1) ? TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_isASwigExplicitOdDbPlotSettingsValidatorPE(this.swigCPtr) : TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_isA(this.swigCPtr), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxObject queryX(OdRxClass protocolClass)
		{
			OdRxObject result = Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("queryX", OdDbPlotSettingsValidatorPE.swigMethodTypes0) ? TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_queryXSwigExplicitOdDbPlotSettingsValidatorPE(this.swigCPtr, OdRxClass.getCPtr(protocolClass)) : TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_queryX(this.swigCPtr, OdRxClass.getCPtr(protocolClass)), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public static OdDbPlotSettingsValidatorPE createObject()
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_createObject();
			OdDbPlotSettingsValidatorPE result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbPlotSettingsValidatorPE)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbPlotSettingsValidatorPE)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbPlotSettingsValidatorPE)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult getDeviceList(OdStringArray pDeviceList)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_getDeviceList(this.swigCPtr, OdStringArray.getCPtr(pDeviceList));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult getMediaList(string deviceName, psvPaperInfoArray pMediaList, bool bUpdateMediaMargins)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_getMediaList(this.swigCPtr, deviceName, psvPaperInfoArray.getCPtr(pMediaList), bUpdateMediaMargins);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult getDefaultMedia(string deviceName, ref string defaultMedia)
		{
			IntPtr intPtr = Marshal.StringToCoTaskMemUni(defaultMedia);
			IntPtr value = intPtr;
			OdResult result;
			try
			{
				OdResult odResult = (OdResult)TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_getDefaultMedia(this.swigCPtr, deviceName, ref intPtr);
				if (TD_DbPINVOKE.SWIGPendingException.Pending)
				{
					throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
				}
				result = odResult;
			}
			finally
			{
				if (intPtr != value)
				{
					defaultMedia = Marshal.PtrToStringUni(intPtr);
				}
			}
			return result;
		}

		public virtual OdResult getMediaMargins(string deviceName, OdDbPlotSettingsValidatorPE.psvPaperInfo pMediaInfo)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_getMediaMargins(this.swigCPtr, deviceName, OdDbPlotSettingsValidatorPE.psvPaperInfo.getCPtr(pMediaInfo));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult getPlotStyleSheetList(OdStringArray pPlotStyleSheetList)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_getPlotStyleSheetList(this.swigCPtr, OdStringArray.getCPtr(pPlotStyleSheetList));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		private void SwigDirectorConnect()
		{
			if (this.SwigDerivedClassHasMethod("queryX", OdDbPlotSettingsValidatorPE.swigMethodTypes0))
			{
				this.swigDelegate0 = new OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_0(this.SwigDirectorqueryX);
			}
			if (this.SwigDerivedClassHasMethod("isA", OdDbPlotSettingsValidatorPE.swigMethodTypes1))
			{
				this.swigDelegate1 = new OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_1(this.SwigDirectorisA);
			}
			if (this.SwigDerivedClassHasMethod("getDeviceList", OdDbPlotSettingsValidatorPE.swigMethodTypes2))
			{
				this.swigDelegate2 = new OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_2(this.SwigDirectorgetDeviceList);
			}
			if (this.SwigDerivedClassHasMethod("getMediaList", OdDbPlotSettingsValidatorPE.swigMethodTypes3))
			{
				this.swigDelegate3 = new OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_3(this.SwigDirectorgetMediaList);
			}
			if (this.SwigDerivedClassHasMethod("getDefaultMedia", OdDbPlotSettingsValidatorPE.swigMethodTypes4))
			{
				this.swigDelegate4 = new OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_4(this.SwigDirectorgetDefaultMedia);
			}
			if (this.SwigDerivedClassHasMethod("getMediaMargins", OdDbPlotSettingsValidatorPE.swigMethodTypes5))
			{
				this.swigDelegate5 = new OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_5(this.SwigDirectorgetMediaMargins);
			}
			if (this.SwigDerivedClassHasMethod("getPlotStyleSheetList", OdDbPlotSettingsValidatorPE.swigMethodTypes6))
			{
				this.swigDelegate6 = new OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_6(this.SwigDirectorgetPlotStyleSheetList);
			}
			TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_director_connect(this.swigCPtr, this.swigDelegate0, this.swigDelegate1, this.swigDelegate2, this.swigDelegate3, this.swigDelegate4, this.swigDelegate5, this.swigDelegate6);
		}

		private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes)
		{
			MethodInfo method = base.GetType().GetMethod(methodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, methodTypes, null);
			return method.DeclaringType.IsSubclassOf(typeof(OdDbPlotSettingsValidatorPE));
		}

		private IntPtr SwigDirectorqueryX(IntPtr protocolClass)
		{
			return OdRxObject.getCPtr(this.queryX((OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(protocolClass, false))).Handle;
		}

		private IntPtr SwigDirectorisA()
		{
			return OdRxClass.getCPtr(this.isA()).Handle;
		}

		private int SwigDirectorgetDeviceList(IntPtr pDeviceList)
		{
			return (int)this.getDeviceList(new OdStringArray(pDeviceList, false));
		}

		private int SwigDirectorgetMediaList([MarshalAs(UnmanagedType.LPWStr)] string deviceName, IntPtr pMediaList, bool bUpdateMediaMargins)
		{
			return (int)this.getMediaList(deviceName, new psvPaperInfoArray(pMediaList, false), bUpdateMediaMargins);
		}

		private int SwigDirectorgetDefaultMedia([MarshalAs(UnmanagedType.LPWStr)] string deviceName, ref IntPtr defaultMedia)
		{
			string text = Marshal.PtrToStringUni(defaultMedia);
			string b = text;
			int defaultMedia2;
			try
			{
				defaultMedia2 = (int)this.getDefaultMedia(deviceName, ref text);
			}
			finally
			{
				if (text != b)
				{
					defaultMedia = Marshal.StringToCoTaskMemUni(text);
				}
			}
			return defaultMedia2;
		}

		private int SwigDirectorgetMediaMargins([MarshalAs(UnmanagedType.LPWStr)] string deviceName, IntPtr pMediaInfo)
		{
			return (int)this.getMediaMargins(deviceName, new OdDbPlotSettingsValidatorPE.psvPaperInfo(pMediaInfo, false));
		}

		private int SwigDirectorgetPlotStyleSheetList(IntPtr pPlotStyleSheetList)
		{
			return (int)this.getPlotStyleSheetList(new OdStringArray(pPlotStyleSheetList, false));
		}

		private object locker = new object();

		private HandleRef swigCPtr;

		private OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_0 swigDelegate0;

		private OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_1 swigDelegate1;

		private OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_2 swigDelegate2;

		private OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_3 swigDelegate3;

		private OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_4 swigDelegate4;

		private OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_5 swigDelegate5;

		private OdDbPlotSettingsValidatorPE.SwigDelegateOdDbPlotSettingsValidatorPE_6 swigDelegate6;

		private static Type[] swigMethodTypes0 = new Type[]
		{
			typeof(OdRxClass)
		};

		private static Type[] swigMethodTypes1 = new Type[0];

		private static Type[] swigMethodTypes2 = new Type[]
		{
			typeof(OdStringArray)
		};

		private static Type[] swigMethodTypes3 = new Type[]
		{
			typeof(string),
			typeof(psvPaperInfoArray),
			typeof(bool)
		};

		private static Type[] swigMethodTypes4 = new Type[]
		{
			typeof(string),
			typeof(string).MakeByRefType()
		};

		private static Type[] swigMethodTypes5 = new Type[]
		{
			typeof(string),
			typeof(OdDbPlotSettingsValidatorPE.psvPaperInfo)
		};

		private static Type[] swigMethodTypes6 = new Type[]
		{
			typeof(OdStringArray)
		};

		public class psvPaperInfo : IDisposable
		{
			[EditorBrowsable(EditorBrowsableState.Never)]
			public psvPaperInfo(IntPtr cPtr, bool cMemoryOwn)
			{
				this.swigCMemOwn = cMemoryOwn;
				this.swigCPtr = new HandleRef(this, cPtr);
			}

			[EditorBrowsable(EditorBrowsableState.Never)]
			public static HandleRef getCPtr(OdDbPlotSettingsValidatorPE.psvPaperInfo obj)
			{
				if (obj != null)
				{
					return obj.swigCPtr;
				}
				return new HandleRef(null, IntPtr.Zero);
			}

			~psvPaperInfo()
			{
				this.Dispose();
			}

			public virtual void Dispose()
			{
				if (this.swigCPtr.Handle != IntPtr.Zero)
				{
					if (this.swigCMemOwn)
					{
						lock (this.locker)
						{
							if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
							{
								this.swigCMemOwn = false;
								TD_DbPINVOKE.delete_OdDbPlotSettingsValidatorPE_psvPaperInfo(this.swigCPtr);
							}
						}
						this.swigCMemOwn = false;
					}
					this.swigCPtr = new HandleRef(null, IntPtr.Zero);
				}
				GC.SuppressFinalize(this);
			}

			public string canonicalName
			{
				get
				{
					string result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_canonicalName_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_canonicalName_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public string localeName
			{
				get
				{
					string result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_localeName_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_localeName_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public double w
			{
				get
				{
					double result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_w_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_w_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public double h
			{
				get
				{
					double result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_h_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_h_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public double left
			{
				get
				{
					double result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_left_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_left_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public double top
			{
				get
				{
					double result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_top_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_top_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public double right
			{
				get
				{
					double result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_right_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_right_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public double bottom
			{
				get
				{
					double result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_bottom_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_bottom_set(this.swigCPtr, value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public OdDbPlotSettings.PlotPaperUnits units
			{
				get
				{
					OdDbPlotSettings.PlotPaperUnits result = (OdDbPlotSettings.PlotPaperUnits)TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_units_get(this.swigCPtr);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
					return result;
				}
				set
				{
					TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_units_set(this.swigCPtr, (int)value);
					if (TD_DbPINVOKE.SWIGPendingException.Pending)
					{
						throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
					}
				}
			}

			public psvPaperInfo() : this(TD_DbPINVOKE.new_OdDbPlotSettingsValidatorPE_psvPaperInfo(), true)
			{
				if (TD_DbPINVOKE.SWIGPendingException.Pending)
				{
					throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
				}
			}

			public bool IsEqual(OdDbPlotSettingsValidatorPE.psvPaperInfo p)
			{
				bool result = TD_DbPINVOKE.OdDbPlotSettingsValidatorPE_psvPaperInfo_IsEqual(this.swigCPtr, OdDbPlotSettingsValidatorPE.psvPaperInfo.getCPtr(p));
				if (TD_DbPINVOKE.SWIGPendingException.Pending)
				{
					throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
				}
				return result;
			}

			private object locker = new object();

			private HandleRef swigCPtr;

			protected bool swigCMemOwn;
		}

		public delegate IntPtr SwigDelegateOdDbPlotSettingsValidatorPE_0(IntPtr protocolClass);

		public delegate IntPtr SwigDelegateOdDbPlotSettingsValidatorPE_1();

		public delegate int SwigDelegateOdDbPlotSettingsValidatorPE_2(IntPtr pDeviceList);

		public delegate int SwigDelegateOdDbPlotSettingsValidatorPE_3([MarshalAs(UnmanagedType.LPWStr)] string deviceName, IntPtr pMediaList, bool bUpdateMediaMargins);

		public delegate int SwigDelegateOdDbPlotSettingsValidatorPE_4([MarshalAs(UnmanagedType.LPWStr)] string deviceName, ref IntPtr defaultMedia);

		public delegate int SwigDelegateOdDbPlotSettingsValidatorPE_5([MarshalAs(UnmanagedType.LPWStr)] string deviceName, IntPtr pMediaInfo);

		public delegate int SwigDelegateOdDbPlotSettingsValidatorPE_6(IntPtr pPlotStyleSheetList);
	}
}
